<table width="100%" cellpadding="4" cellspacing="0">
<tr>
	<td class="border2">
		<table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
				<td class="block_header">{language text="favorite_music"}</td>
			</tr>
		</table>
        
        {if $aAlbums or $aSongs}
        <table style="width:100%;height:270px;" cellspacing="0" cellpadding="0">
        <tr>
            <td style="font-size:7pt;vertical-align:top;">
            {if count($aAlbums)}
            <br />
            <table cellspacing="5" cellpadding="4" border="0" width="100%">
            <tr>
                <td class="block_header">{language text="albums"}</td>
            </tr>
            {foreach from=$aAlbums item=aAlbum}
            <tr>
                <td class="border2">
                    <table cellspacing="0" cellpadding="0">
                    <tr>
                    <td style="width: 30%; text-align: center;">
                        <a href="{url link='public.music.album' id=$aAlbum.album_id}">
                        {img src="`$sAlbumsUrl``$aAlbum.album_id`.jpg" src_def='design/pic/noimage_120.jpg'  class="pic1" onmouseover="this.className='pic2';" onmouseout="this.className='pic1';"}
                        </a><br />
                    </td>
                    <td class="color" style="font-size: 8pt; vertical-align: top; width: 70%;padding:4px;">
                        <b>{language text="musician"}:</b>&nbsp;<a class="link_description" href="{url link='public.music.musician' id=$aAlbum.musician_id}">{$aAlbum.musician_name}</a><br /><br />
                        <b>{language text="album"}:</b>&nbsp;<a class="link_description" href="{url link='public.music.album' id=$aAlbum.album_id}">{$aAlbum.album_title}</a><br /><br />
                        {if $aAlbum.album_year}<b>{language text="year"}:</b>&nbsp;{$aAlbum.album_year}{/if}
                    </td>
                    </tr>
                    </table>
                </td>
            </tr>
            {/foreach}
            </table>
            {/if}
            {if count($aSongs)}
            <table cellspacing="5" cellpadding="4" border="0" width="100%">
            <tr>
                <td class="block_header">{language text="songs"}</td>
            </tr>
            {foreach from=$aSongs item=aSong name=songs1}
            <tr {if $smarty.foreach.songs1.iteration % 2}class="border13"{/if}>
                <td width="65%" style="font-size:8pt;padding:5px;"><a class="link_description" href="{url link='public.music.musician' id=$aSong.musician_id}">{$aSong.musician_name}</a> - <a class="link_description" href="{url link='public.music.song' id=$aSong.song_id}">{$aSong.song_title}</a></td>
            </tr>
            {/foreach}
            </table>
            {/if}
        </td>
            </tr>
        </table>
        {else}
        <div class="message_info">{language text="there_is_no_favorite_music_yet"}</div>
        {/if}


		</td>
	</tr>
</table>